package com.cap.bts.crmdp.dealer.masterinfo.dao;

import java.util.List;

import com.cap.bts.crmdp.dealer.masterinfo.domain.TyreProductModel;
import com.cap.bts.framework.common.dao.IBaseDao;
import com.cap.bts.framework.common.exception.AppException;

public interface ITyreProductDao extends IBaseDao<TyreProductModel, Long> {
    /**
     * 轮胎数据新增
     * @param tyreProductModel
     * @return
     * @throws AppException
     */
//    public TyreProductModel insertTyreProductInfo(TyreProductModel tyreProductModel)
//                                                                                    throws AppException;

    /**
     * 删除轮胎数据
     * @throws AppException
     */
//    public void removeTyreProduct(TyreProductModel tyreProductModel) throws AppException;

    /**
     * 查询所有的轮胎数据
     * @return
     * @throws AppException
     */
    public List<TyreProductModel> getAllTyreProduct() throws AppException;

//    public void removeAllTyreProductInfo() throws AppException;

    public List<TyreProductModel> getViewForTyre(String sql) throws AppException;

    /**
     * 根据编号查询信息
     * @param mfgrCode
     * @return
     * @throws AppException
     */
//    public List<TyreProductModel> getTyreProductList(String mfgrCode) throws AppException;

    /**
     * 更新信息
     * @param id
     * @return
     * @throws AppException
     */
//    public boolean updateTyreProductInfo(TyreProductModel tyreProductModel, Long id)
//                                                                                    throws AppException;
    
//    public List<TyreProductModel> getTyreProductInfoByMfgrCode(String mfgrCode) throws AppException;

	public void batchInsert(List<TyreProductModel> productDataList) throws AppException;
}
